package com.qfedu.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.entity.Driverinfo;
import com.qfedu.util.Result;

import java.util.List;

/**
 * projectName: logistics
 * author: CGY
 * time: 2020/10/6 11:15
 * description:
 */
public interface DriverService {
    List<Driverinfo> selectAllId();

    Result addDriver(Driverinfo driverinfo);

    PageInfo selectAll();

    Result selectDriverById(String id);

    Result updateDriver(Driverinfo driverinfo);

    Result delete(String id);
}
